# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=7

inherit autotools git-r3

DESCRIPTION="A tool to dynamically redirect standard outputs of a running program."
HOMEPAGE="https://github.com/jerome-pouiller/reredirect"
MY_AUTHOR="jerome-pouiller"
EGIT_REPO_URI="https://github.com/${MY_AUTHOR}/${PN}.git"

if [[ ${PV} == "9999" ]] ; then
	EGIT_BRANCH="master"
	KEYWORDS=""
else
	EGIT_COMMIT="reredirect-${PV}"
	KEYWORDS="~x86 ~amd64"
fi

LICENSE="MIT"
SLOT="0"
